Ewan Mellor [Tue, 20 Feb 2007 16:30:24 +0000 (16:30 +0000)]
Remove VM.VCPUs_number and VM.VCPUs_utilisation as these have moved onto the
VM_metrics class. Remove VM_metrics.VM -- the backreference is unnecessary
and awkward to deal with.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 20 Feb 2007 15:24:01 +0000 (15:24 +0000)]
Replace the X_HANDLE_INVALID error codes with a single HANDLE_INVALID that
names the class as a parameter.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 23:54:42 +0000 (23:54 +0000)]
hvm: Fix getvcpucontext to return the correct CR3 value.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Tue, 20 Feb 2007 20:49:44 +0000 (20:49 +0000)]
[HVM] Fix MMIO AND emulation
which was falling though into AND...
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Tue, 20 Feb 2007 20:02:49 +0000 (20:02 +0000)]
[HVM] Fix MMIO LODS emulation
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 17:05:50 +0000 (17:05 +0000)]
x86 emulation: fix bswap
REX.R needs to be decoded. Since it is simple to do, faster, and
smaller, let hardware do 32- and 64-bit BSWAP. 16-bite BSWAP is
undefined: emulate with observed behaviour (write zero).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 16:57:50 +0000 (16:57 +0000)]
x86: Fix emulation of REP prefix.
Firstly, it should be ignored when used with any opcode for which it
is undefined. Secondly, the count register (rCX) width depends on
address size.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Tue, 20 Feb 2007 16:19:40 +0000 (16:19 +0000)]
Merge
Tim Deegan [Tue, 20 Feb 2007 16:18:56 +0000 (16:18 +0000)]
[HVM] Another unchecked caller of hvm_copy_to_guest_virt()
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 16:12:02 +0000 (16:12 +0000)]
acm: More fixes after grant-table changes. These are all bugs
introduced during merge of Isaku's previous patch. :-)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Tim Deegan [Tue, 20 Feb 2007 15:37:28 +0000 (15:37 +0000)]
Merge
Tim Deegan [Tue, 20 Feb 2007 15:37:03 +0000 (15:37 +0000)]
[XEN] Get rid of gva_to_gpa translation
It didn't have any sensible error checking. Make all callers
use gva_to_gfn translation and check the result. MMIO and PIO
callers inject pagefaults to the guest iof the non-IO address is
not mapped.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Vincent Hanquez [Tue, 20 Feb 2007 14:12:12 +0000 (14:12 +0000)]
add /sbin to the $PATH and use ldconfig -p instead of ldconfig -v
Tim Deegan [Tue, 20 Feb 2007 13:57:26 +0000 (13:57 +0000)]
[XEN] Fix skip-verify shadow heuristic
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 12:27:03 +0000 (12:27 +0000)]
linux: Fix swiotlb bug-out due to uninitialised end_pfn/max_mapnr.
Signed-off-by: Keir Fraser <keir@xensource.com>
Vincent Hanquez [Tue, 20 Feb 2007 12:22:40 +0000 (12:22 +0000)]
add /sbin to the $PATH for debian's ldconfig.
use ldconfig -p instead of -v that doesn't require root privilege to work.
kfraser@localhost.localdomain [Tue, 20 Feb 2007 12:18:29 +0000 (12:18 +0000)]
linux/x86: Advertise which page table entries contain MFNs and hence
need to be (un)canonicalized during save/restore.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 11:57:06 +0000 (11:57 +0000)]
xen/x86: Better BUG back traces.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Tue, 20 Feb 2007 11:51:40 +0000 (11:51 +0000)]
[XEN] Fix potential race in unshadow code
And add some diagnostic printout in case it happens again
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Tue, 20 Feb 2007 09:41:32 +0000 (09:41 +0000)]
linux/x86: Clean up page table handling headers
- remove dead code
- fix line breaking and space vs. tab usage
- remove redundant parentheses
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Tim Deegan [Tue, 20 Feb 2007 09:34:22 +0000 (09:34 +0000)]
Merge
kfraser@localhost.localdomain [Tue, 20 Feb 2007 09:33:14 +0000 (09:33 +0000)]
linux/x86: Adjust and fix page table handling.
Ensure that all and only those page table entries that have their
present bit set undergo p2m/m2p translation in all relevant places.
This should fix migration issues with _PAGE_PROTNONE pages which
previously could retain MFNs in PTEs while having the present bit
clear (and thus were not getting (un)canonicalized during save/
restore).
Many thanks to Keir Fraser for his analysis, suggestions, and
corrections.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
john.levon@sun.com [Tue, 20 Feb 2007 04:44:42 +0000 (20:44 -0800)]
Xenconsoled should ignore spurious watch event. Otherwise, it can rebind to the same evtchn of a dying domU during suspending and cause below error message:
(XEN) event_channel.c:177:d0 EVTCHNOP failure: domain 0, error -22, line 177
john.levon@sun.com [Tue, 20 Feb 2007 04:44:42 +0000 (20:44 -0800)]
Filesystem implementations may need optional arguments in terms of
what to mount. Add an options string to the libfsimage API.
Signed-off-by: John Levon <john.levon@sun.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 22:50:07 +0000 (22:50 +0000)]
linux: Fix 32-bit build after changeset 13993:
168030c8e0a93d8401cf5e783e10ecdf0938abda
Signed-off-by: Keir Fraser <keir@xensource.com>
Emmanuel Ackaouy [Mon, 19 Feb 2007 19:58:07 +0000 (19:58 +0000)]
[XEN] 32on64 shadowing / live migration support for PV PAE compat guests
PAE compat guests on 64bit hypervisors are shadowed
using 4-on-4 with special handling for the top level
L4 page and the L2E M2P mappings.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 16:16:53 +0000 (16:16 +0000)]
Quieten noisy fied-up-GPF-in-Xen logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 16:11:56 +0000 (16:11 +0000)]
linux: Introduce {current_,}vcpu_info.
Also consolidate time-xen.c in giving get_time_values_from_xen() a
'cpu' parameter to match other functions (this consolidation could of
course also be done the other way around, but I think this way the
resulting code can be more efficient).
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 16:06:03 +0000 (16:06 +0000)]
ia64: Fixes after changes to grant table code.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 16:05:34 +0000 (16:05 +0000)]
acm: Further fixes after grant-table changes.
Based on a patch from Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 15:52:51 +0000 (15:52 +0000)]
Fix ACM build after recent grant-table code changes.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 15:51:46 +0000 (15:51 +0000)]
hvm, vtpm: Fix wait for an outstanding response.
Post the interrupt upon reception of the response and adapt the
state machine.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 15:50:29 +0000 (15:50 +0000)]
minios: Fix xenbus-id allocation loop.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 15:46:01 +0000 (15:46 +0000)]
hvm: Remove noisy warnings associated with MOVS emulation.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 19 Feb 2007 15:43:27 +0000 (15:43 +0000)]
hvm: Emulate opcode 0x03 (ADD mem,reg).
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian Campbell [Mon, 19 Feb 2007 12:21:41 +0000 (12:21 +0000)]
[LIBELF] Prefer PT_NOTE segments to SHT_NOTE sections for ELF notes.
It's always an error to try to use sections on an executable; the
segments in the phdr are definitive.
Unfortunately we cannot drop SHT_NOTE support completely due to a
binutils bug which causes kernels to have the offset field of the
PT_NOTE phdr set to zero:
http://sourceware.org/bugzilla/show_bug.cgi?id=594
This bug is present in binutils 2.17 although some distros have
backported the fix.
Therefore we simply prefer a PT_NOTE segment if we find one otherwise
we still use the SHT_NOTE section (and then the old __xen_guest
section).
Based on a patch from Jeremy Fitzhardinge.
Also added XEN_ELFNOTE_HV_START_LOW to readnotes.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Keir Fraser [Sun, 18 Feb 2007 15:29:40 +0000 (15:29 +0000)]
hvm: Support PUSH from mmio area (opcode 0xFF/6).
Also fix a bogus assertion in vlapic device model.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 17 Feb 2007 13:26:33 +0000 (13:26 +0000)]
linux: vmalloc_sync_all() is not a no-op when running in PAE mode on Xen.
Also vmalloc_sync_all() is only defined for x86 architectures so make
use of it in driver code conditional on CONFIG_X86.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Sat, 17 Feb 2007 09:59:00 +0000 (09:59 +0000)]
Fix 64-bit build.
Signed-off-by: Keir Fraser <keir@xensource.com>
Jake Wires [Sat, 17 Feb 2007 04:31:27 +0000 (20:31 -0800)]
[TAPDISK] add tapdisk support for image chaining
Enables tapdisk to chain an arbitrary number of VDIs, propagating reads of
holes in children to their parent images. Introduces two new functions to the
tapdisk interface to facilitate this. Modifies the QCoW plugin to take
advantage of these changes, thus providing support for arbitrarily long chains
of QCoW image types.
kfraser@localhost.localdomain [Fri, 16 Feb 2007 16:34:28 +0000 (16:34 +0000)]
x86-64: fix Lx_DISALLOW_MASK
x86-64's Lx_DISALLOW_MASK values weren't properly taking care of the
NX bit, L3 and L4 were needlessly customized, and the compat mode L3
one wasn't really matching native PAE.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 16 Feb 2007 16:05:01 +0000 (16:05 +0000)]
linux/x86_64: miscellaneous initialization code cleanup
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 16 Feb 2007 15:50:02 +0000 (15:50 +0000)]
hvm: Processor Objects require unique IDs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 16 Feb 2007 15:33:51 +0000 (15:33 +0000)]
hvm: Dynamically generate the correct number of ACPI Processor Objects
in an SSDT.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Fri, 16 Feb 2007 13:10:00 +0000 (13:10 +0000)]
[XEN] Set p2m page count-info fields properly on allocation.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Fri, 16 Feb 2007 12:34:30 +0000 (12:34 +0000)]
[HVM] Save/restore: explicitly name MSRs in save format
Signed off by: Mats Petersson (Mats.Petersson@amd.com)
kfraser@localhost.localdomain [Fri, 16 Feb 2007 12:13:33 +0000 (12:13 +0000)]
Fix grant-table initialisation so that domain destruction does not barf.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 16 Feb 2007 11:24:10 +0000 (11:24 +0000)]
linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 16 Feb 2007 09:57:25 +0000 (09:57 +0000)]
Fix vncdisplay config option for HVM guests.
Signed-off-by: Takanori Kasai <kasai.takanori@jp.fujitsu.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 19:03:09 +0000 (19:03 +0000)]
hvm: Fix acpi processor id in MADT LAPIC entries.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 18:05:05 +0000 (18:05 +0000)]
ia64: Fix build failure
Signed-off-by: Alex WIlliamson <alex.williamson@hp.com>
Tim Deegan [Thu, 15 Feb 2007 14:58:43 +0000 (14:58 +0000)]
[HVM] Save/restore: remove u8 from publich header
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:38:08 +0000 (14:38 +0000)]
Remove unnecessary check from HVM builder.
Thanks to Guy Zana for spotting this.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:28:01 +0000 (14:28 +0000)]
Lift physical address restriction in save/restore code.
Bump this to 44 bits for x86-32 and 52 bits for x86-64.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:25:58 +0000 (14:25 +0000)]
Propagate error return from elf_xen_parse().
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:24:11 +0000 (14:24 +0000)]
x86: fix NMI delivery to dom0
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:21:50 +0000 (14:21 +0000)]
Bring TPM driver files to 2.6.18 level. Remove the tpm.c so that the
one from the kernel can be used and reduce changes to a minimum
required to compile the xen-specific driver.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:20:05 +0000 (14:20 +0000)]
[ACM] Update the xensec_ezpolicy ACM policy generation tool so
that it works with wxPython under Python 2.5.
Signed-off by: Reiner Sailer <sailer@us.ibm.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:18:21 +0000 (14:18 +0000)]
minios: build system cleanups.
- Added ARCH_LDFLAGS for architecture specific LDFLAGS
- Fixed build dependencies after changing makerule files
- Fixed ARCH_CFLAGS for 64bit guest, added ARCH_ASFLAGS
- Couple of variable renames
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:17:00 +0000 (14:17 +0000)]
Disable GCC stack protector for ROMBIOS.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:12:32 +0000 (14:12 +0000)]
linux: miscellaneous changes after upgrade through 2.6.17.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:05:58 +0000 (14:05 +0000)]
linux: e820 handling adjustments
In certain places, machine_e820 should be used rather than e820.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:51:25 +0000 (13:51 +0000)]
linux: user user_mode_vm() in place of user_mode() where necessary.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:49:04 +0000 (13:49 +0000)]
linux: avoid need to modify include/linux/pfn.h
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:40:33 +0000 (13:40 +0000)]
linux: early_printk adjustments
This is a little more than a pure merge with 2.6.17, to remove a few
more non-Xen items.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:38:59 +0000 (13:38 +0000)]
linux: proper mutex use in balloon driver
Mutexes are supposed to not use the old semaphore technique anymore.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:36:58 +0000 (13:36 +0000)]
[VTPM] Add a missing initialization of a state variable in the TIS
device model so that the first response received after a resume is not
aborted.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 13:36:00 +0000 (13:36 +0000)]
libxc: Fix xc_vcpu_{set,get}_affinity (Xen-bugzilla No.900).
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=900
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:54:12 +0000 (10:54 +0000)]
Dynamic grant-table sizing.
Signed-off-by: Christopher CLark <christopher.clark@cl.cam.ac.uk>
Signed-off-by: Andrei Petrov <andrei.petrov@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:34:21 +0000 (10:34 +0000)]
Remove unuseful and noisy seg-fixup warning message.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 15 Feb 2007 10:25:39 +0000 (10:25 +0000)]
Remove old elf-parsing code from tools and from Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
Wim Colgate [Wed, 14 Feb 2007 20:18:32 +0000 (12:18 -0800)]
Protect self.domid from being empty
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:17:41 +0000 (19:17 +0000)]
Export PRI_xen_pfn rather than PRIpfn: less polluting of namespace.
libxc continues to use PRIpfn internally, #defined to PRI_xen_pfn.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 19:01:35 +0000 (19:01 +0000)]
Merge with xenppc-unstable.hg
kfraser@localhost.localdomain [Wed, 14 Feb 2007 16:06:10 +0000 (16:06 +0000)]
libelf: use xen code style.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 16:05:28 +0000 (16:05 +0000)]
linux: quieten some driver printk logging.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 15:54:47 +0000 (15:54 +0000)]
Another domctl fix to insert missing copy_to_guest.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Tim Deegan [Wed, 14 Feb 2007 14:47:05 +0000 (14:47 +0000)]
Merge
Tim Deegan [Wed, 14 Feb 2007 14:46:18 +0000 (14:46 +0000)]
[XEN] Snapshot PAE l3es when they are shadowed.
We don't update the shadows so we mustn't look at the guest l3es
or we'll be confused by them if they change.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 14 Feb 2007 14:44:07 +0000 (14:44 +0000)]
[XEN] Re-sync PAE l3 shadows when PV guests change them
-in particular, for PAE Solaris guests
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:37:13 +0000 (12:37 +0000)]
Make libelf not fail on unknown elf notes.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:35:36 +0000 (12:35 +0000)]
Add missing breaks to {set,get}_address_size domctls.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:14:49 +0000 (12:14 +0000)]
Fix DEC instruction decode. Turn into SUB, not OR. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 14 Feb 2007 12:10:01 +0000 (12:10 +0000)]
Support INC/DEC in mmio decoder. Opcodes 0xFE and 0xFF.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 14 Feb 2007 12:02:20 +0000 (12:02 +0000)]
[XEN] New paging-assistance interface.
Adds paging_* functions, wrapping the existing shadow_* ones,
so that later hardware paging assistance can be hooked in at this level.
Separates p2m maintenance code into its own files.
Adjusts shadow code to comply with the new interfaces.
Changes all callers in arch/x86 to use the new interfaces.
Signed-off-by: Wei Huang <Wei.Huang2@amd.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Ian Campbell [Tue, 13 Feb 2007 15:32:25 +0000 (15:32 +0000)]
[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
generic infrastructure for cad_pid etc.
Add a ctrl_alt_del() implemenation to the PV on HVM compatibility
layer since ctrl_alt_del() is not exported on native kernels.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Hollis Blanchard [Fri, 9 Feb 2007 20:43:22 +0000 (14:43 -0600)]
[POWERPC][XEN] Use libelf for dom0 construction.
- Remove old 32-bit ELF loader hack.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 9 Feb 2007 20:43:22 +0000 (14:43 -0600)]
[LIBELF] Define PRIpfn next to xen_pfn_t.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] Opt out of new libxc domain builder.
PowerPC needs more flexibility than the new framework allows.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[LIBELF] Print phdr addresses when loading.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] Fix RCU crash.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Hollis Blanchard [Fri, 9 Feb 2007 20:43:21 +0000 (14:43 -0600)]
[POWERPC][XEN] strlcpy() fallout.
- Implement strlcpy() for the dom0 firmware.
- Remove strncpy() from dom0 firmware.
- Correct buffer length in device tree copying.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kfraser@localhost.localdomain [Fri, 9 Feb 2007 18:19:24 +0000 (18:19 +0000)]
[HVM] Fill in mmio decode gaps for Grp1 immediate opcodes.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 9 Feb 2007 17:38:33 +0000 (17:38 +0000)]
Print all by default in debug builds.
Tim Deegan [Fri, 9 Feb 2007 10:48:41 +0000 (10:48 +0000)]
[HVM] Save/restore: disentangle max_pfn from nr_pages.
These have been used interchangeably, which is OK for PV domains but
not for HVM. This fixes an over-allocation by 256MB when restoring
HVM guests that have more than 4GB of RAM.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Alastair Tse [Fri, 9 Feb 2007 10:21:12 +0000 (10:21 +0000)]
Add missing Makefile in x86_64/compat so that it builds on x86_64.
Signed-off-by: Alastair Tse <atse@xensource.com>
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:36:35 +0000 (21:36 +0000)]
Fix non-x86 build.
kfraser@localhost.localdomain [Thu, 8 Feb 2007 21:30:29 +0000 (21:30 +0000)]
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Thu, 8 Feb 2007 18:18:56 +0000 (18:18 +0000)]
x86: hide assembly labels
Prevent the fault recovery labels to clutter the symbol table and the
disassembly.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Keir Fraser [Thu, 8 Feb 2007 18:01:42 +0000 (18:01 +0000)]
[HVM][SVM] Do not advertise FFXSR feature.
Signed-off-by: Keir Fraser <keir@xensource.com>